/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package StrategyCompare;

import comparetor.Comparetor;

/**
 *
 * @author khangdc
 */
public class Descending<E> extends Sort<E> {

    @Override
    public boolean sortStr(E e1, E e2, Comparetor<E> compare) {
        if (compare.compare(e2, e1)) {
            return true;
        }
        return false;
    }
}
